﻿@model EShop.Models.Goods

@{
    ViewBag.Title = "Details";
}

<h2>详情</h2>

<fieldset>
    <legend>商品</legend>

     <div class="display-label">类型</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Genre.Name)
    </div>

    <div class="display-label">品牌</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.brand.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Price)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Price)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.GoodsUrl)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.GoodsUrl)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.GoodsId }) |
    @Html.ActionLink("返回列表", "Index")
</p>
